From 3bb14238049961201176f7665810599177ee1366 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 4 Feb 2019 10:02:15 +0100 Subject: [PATCH] tests: Remove spurious gtk_container_add() Commit bd71e744d2e5dbd853f0c719dd3ebe6abb2f72b6 removed gtk_box_pack_end(), but it added a gtk_container_add() with an uninitialised widget, and the compiler is very unhappy about it. --- tests/testgtk.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/testgtk.c b/tests/testgtk.c index 9adbd06aba..a7a1c81f87 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -4182,7 +4182,6 @@ create_pages (GtkNotebook *notebook, gint start, gint end) hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_box_set_homogeneous (GTK_BOX (hbox), TRUE); gtk_container_add (GTK_CONTAINER (vbox), hbox); - gtk_container_add (GTK_CONTAINER (vbox), button); button = gtk_check_button_new_with_label ("Fill Tab"); gtk_container_add (GTK_CONTAINER (hbox), button); -- 2.30.2